<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8"%>
<html>
<head>

</head>
<body>
<div id="con">
    <form action="<%=request.getContextPath()%>/login" method="post">
        <input type="text" name="username">
        <input type="text" name="password">
        <input type="submit" value="登录" >
    </form>
</div>
<%=request.getAttribute("errorInfo")%>

</body>
</html>